POV-Ray : Newsgroups : povray.general : string problem : string problem Server Time
31 Jul 2024 00:26:10 EDT (-0400)
  string problem  
From: Dennis Miller
Date: 1 Mar 2008 12:33:05
Message: <47c99351$1@news.povray.org>
I am trying to load a long sequence of TGA files into this image map:
image_map { tga concat("D:\\sketches\\follow", str(clock*600,-4,0), ".tga")

in the folder Sketches folder on my D drive there are 1800 files starting 
with
follow0000.tga
to
follow1800.tga

Can someone see a problem with the string here? I want to read in only the 
first 600 while the clock moves from 0.1 to 1.
The whole code segment is:
#local D=
  pigment{
   image_map { tga concat("D:\\sketches\\follow", str(clock*600,-4,0), 
".tga")   //group.tga is excellent   1352
  map_type 2 interpolate 2 once } translate <0, 0,0> scale 1 + clock*2 }

and I am getting a Parse Error that says: Cannot open TGA image.
thanks much for any help.
d

-- 

dhm### [at] comcastnet
http://www.dennismiller.neu.edu


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.